<div class="meta-section meta-update">
    <div class="meta-section-header">
        <h4 class="meta-section-header-title">更新日志</h4>
        <div class="meta-section-header-buttons">
            <button class="btn btn-success" ng-click="openModel('lg','views/permission/modal/update.html', 'SystemUpdateCtrl', undefined, '0')">创建更新
            </button>
        </div>
    </div>
    <div class="meta-section-container">
      <ul class="meta-update-list">
          <li ng-repeat="element in editCtrl.data track by $index" class="meta-underline-row fr-view" style="position: relative">
              <h5>{{element.createdAt | date:"yyyy-MM-dd HH:mm"}}</h5>
              <div ng-bind-html='element.content | trusted'></div>
              <div style="position:absolute;bottom:10px;right:0">
                  <button class="btn btn-xs btn-info" ng-click="openModel('lg','views/permission/modal/update.html', 'SystemUpdateCtrl', element, '1')">编辑</button>
                  <button class="btn btn-xs btn-danger" ng-click="delete(element.id)">删除</button>
              </div>
          </li>
      </ul>
    </div>
</div>
